package com.zbkj.dal.entity.partner;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_partner_role")
@ApiModel(value = "User对象", description = "合伙人角色表")
public class PartnerRole {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "合伙人角色Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "合伙人角色名称")
    private String name;

    @ApiModelProperty(value = "开卡缴费金额")
    private BigDecimal paymentAmount;

    @ApiModelProperty(value = "原开卡缴费金额")
    private BigDecimal originalAmount;

    @ApiModelProperty(value = "是否删除")
    private Boolean isDel;

    @ApiModelProperty(value = "角色卡描述")
    private String remark;

    @ApiModelProperty(value = "背景图片")
    private String bgImage;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "父级账户收益(普通会员)")
    private BigDecimal parentReferrerAwardOne;

    @ApiModelProperty(value = "顶级账户收益(普通会员)")
    private BigDecimal oneReferrerAwardOne;

    @ApiModelProperty(value = "父级账户收益(合伙人)")
    private BigDecimal parentReferrerAwardTwo;

    @ApiModelProperty(value = "顶级账户收益(合伙人)")
    private BigDecimal oneReferrerAwardTwo;

    @ApiModelProperty(value = "父级账户收益(加盟店)")
    private BigDecimal parentReferrerAwardThree;

    @ApiModelProperty(value = "顶级账户收益(加盟店)")
    private BigDecimal oneReferrerAwardThree;

    @ApiModelProperty(value = "开通后用户分润级别 L001 一级分润 L002 二级分润")
    private String shareProfitLevel;

    @ApiModelProperty(value = "角色卡等级L001普通会员 L002 合伙人 L003加盟商")
    private String cardLevel;

}
